PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Waveform / Wire Spirograph / suksma - melting the boring.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.010 |
| 27 | fWaveSmoothing=0.270 |
| 28 | fWaveParam=-0.380 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=0.905 |
| 32 | fWarpScale=0.010 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.96098 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.025 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.250 |
| 54 | ib_size=0.180 |
| 55 | ib_r=0.300 |
| 56 | ib_g=0.300 |
| 57 | ib_b=0.300 |
| 58 | ib_a=0.030 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=x = .5 + (bass*.2)*sin(sample*2*(time*10*treb)); |
| 89 | wave_0_per_point2=y = .5 + (bass*.2)*cos(sample*2*(time*10*treb)); |
| 90 | wave_0_per_point3=r = 1 + .5*sin(sample*.10+(time*10*bass)); |
| 91 | wave_0_per_point4=g = 1 + .5*sin(sample*2+(time*50*treb)); |
| 92 | wave_0_per_point5=b = 1 + .5*sin(sample*5+(time*20*mid)); |
| 93 | wave_0_per_point6=a = r; |
| 94 | wavecode_1_enabled=0 |
| 95 | wavecode_1_samples=512 |
| 96 | wavecode_1_sep=0 |
| 97 | wavecode_1_bSpectrum=0 |
| 98 | wavecode_1_bUseDots=0 |
| 99 | wavecode_1_bDrawThick=0 |
| 100 | wavecode_1_bAdditive=0 |
| 101 | wavecode_1_scaling=1.00000 |
| 102 | wavecode_1_smoothing=0.50000 |
| 103 | wavecode_1_r=1.000 |
| 104 | wavecode_1_g=1.000 |
| 105 | wavecode_1_b=1.000 |
| 106 | wavecode_1_a=1.000 |
| 107 | wavecode_2_enabled=0 |
| 108 | wavecode_2_samples=512 |
| 109 | wavecode_2_sep=0 |
| 110 | wavecode_2_bSpectrum=0 |
| 111 | wavecode_2_bUseDots=0 |
| 112 | wavecode_2_bDrawThick=0 |
| 113 | wavecode_2_bAdditive=0 |
| 114 | wavecode_2_scaling=1.00000 |
| 115 | wavecode_2_smoothing=0.50000 |
| 116 | wavecode_2_r=1.000 |
| 117 | wavecode_2_g=1.000 |
| 118 | wavecode_2_b=1.000 |
| 119 | wavecode_2_a=1.000 |
| 120 | wavecode_3_enabled=0 |
| 121 | wavecode_3_samples=512 |
| 122 | wavecode_3_sep=0 |
| 123 | wavecode_3_bSpectrum=0 |
| 124 | wavecode_3_bUseDots=0 |
| 125 | wavecode_3_bDrawThick=0 |
| 126 | wavecode_3_bAdditive=0 |
| 127 | wavecode_3_scaling=1.00000 |
| 128 | wavecode_3_smoothing=0.50000 |
| 129 | wavecode_3_r=1.000 |
| 130 | wavecode_3_g=1.000 |
| 131 | wavecode_3_b=1.000 |
| 132 | wavecode_3_a=1.000 |
| 133 | shapecode_0_enabled=0 |
| 134 | shapecode_0_sides=3 |
| 135 | shapecode_0_additive=0 |
| 136 | shapecode_0_thickOutline=0 |
| 137 | shapecode_0_textured=0 |
| 138 | shapecode_0_num_inst=1 |
| 139 | shapecode_0_x=0.500 |
| 140 | shapecode_0_y=0.500 |
| 141 | shapecode_0_rad=0.34000 |
| 142 | shapecode_0_ang=0.53000 |
| 143 | shapecode_0_tex_ang=0.00000 |
| 144 | shapecode_0_tex_zoom=1.00000 |
| 145 | shapecode_0_r=0.560 |
| 146 | shapecode_0_g=0.360 |
| 147 | shapecode_0_b=0.000 |
| 148 | shapecode_0_a=1.000 |
| 149 | shapecode_0_r2=0.900 |
| 150 | shapecode_0_g2=1.000 |
| 151 | shapecode_0_b2=0.000 |
| 152 | shapecode_0_a2=0.000 |
| 153 | shapecode_0_border_r=0.000 |
| 154 | shapecode_0_border_g=0.000 |
| 155 | shapecode_0_border_b=0.000 |
| 156 | shapecode_0_border_a=0.000 |
| 157 | shape_0_per_frame1=ang = ang + time; |
| 158 | shapecode_1_enabled=0 |
| 159 | shapecode_1_sides=3 |
| 160 | shapecode_1_additive=0 |
| 161 | shapecode_1_thickOutline=0 |
| 162 | shapecode_1_textured=0 |
| 163 | shapecode_1_num_inst=1 |
| 164 | shapecode_1_x=0.500 |
| 165 | shapecode_1_y=0.500 |
| 166 | shapecode_1_rad=0.41000 |
| 167 | shapecode_1_ang=0.00000 |
| 168 | shapecode_1_tex_ang=0.00000 |
| 169 | shapecode_1_tex_zoom=1.00000 |
| 170 | shapecode_1_r=0.000 |
| 171 | shapecode_1_g=0.800 |
| 172 | shapecode_1_b=0.700 |
| 173 | shapecode_1_a=1.000 |
| 174 | shapecode_1_r2=0.000 |
| 175 | shapecode_1_g2=0.400 |
| 176 | shapecode_1_b2=1.000 |
| 177 | shapecode_1_a2=0.000 |
| 178 | shapecode_1_border_r=1.000 |
| 179 | shapecode_1_border_g=1.000 |
| 180 | shapecode_1_border_b=1.000 |
| 181 | shapecode_1_border_a=0.000 |
| 182 | shape_1_per_frame1=ang = ang - time*.333; |
| 183 | shapecode_2_enabled=0 |
| 184 | shapecode_2_sides=3 |
| 185 | shapecode_2_additive=0 |
| 186 | shapecode_2_thickOutline=0 |
| 187 | shapecode_2_textured=0 |
| 188 | shapecode_2_num_inst=1 |
| 189 | shapecode_2_x=0.500 |
| 190 | shapecode_2_y=0.500 |
| 191 | shapecode_2_rad=0.21000 |
| 192 | shapecode_2_ang=0.00000 |
| 193 | shapecode_2_tex_ang=0.00000 |
| 194 | shapecode_2_tex_zoom=1.00000 |
| 195 | shapecode_2_r=0.840 |
| 196 | shapecode_2_g=0.000 |
| 197 | shapecode_2_b=0.000 |
| 198 | shapecode_2_a=1.000 |
| 199 | shapecode_2_r2=1.000 |
| 200 | shapecode_2_g2=0.580 |
| 201 | shapecode_2_b2=0.000 |
| 202 | shapecode_2_a2=0.000 |
| 203 | shapecode_2_border_r=1.000 |
| 204 | shapecode_2_border_g=1.000 |
| 205 | shapecode_2_border_b=1.000 |
| 206 | shapecode_2_border_a=0.000 |
| 207 | shape_2_per_frame1=ang = ang + time*4; |
| 208 | shapecode_3_enabled=0 |
| 209 | shapecode_3_sides=4 |
| 210 | shapecode_3_additive=0 |
| 211 | shapecode_3_thickOutline=0 |
| 212 | shapecode_3_textured=0 |
| 213 | shapecode_3_num_inst=1 |
| 214 | shapecode_3_x=0.500 |
| 215 | shapecode_3_y=0.500 |
| 216 | shapecode_3_rad=0.10000 |
| 217 | shapecode_3_ang=0.00000 |
| 218 | shapecode_3_tex_ang=0.00000 |
| 219 | shapecode_3_tex_zoom=1.00000 |
| 220 | shapecode_3_r=1.000 |
| 221 | shapecode_3_g=0.000 |
| 222 | shapecode_3_b=0.000 |
| 223 | shapecode_3_a=1.000 |
| 224 | shapecode_3_r2=0.000 |
| 225 | shapecode_3_g2=1.000 |
| 226 | shapecode_3_b2=0.000 |
| 227 | shapecode_3_a2=0.000 |
| 228 | shapecode_3_border_r=1.000 |
| 229 | shapecode_3_border_g=1.000 |
| 230 | shapecode_3_border_b=1.000 |
| 231 | shapecode_3_border_a=0.100 |
| 232 | per_frame_1=vb = vb*0.95 + (1-vb)*pow(bass*treb*mid,2)*0.02; |
| 233 | per_frame_2=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 234 | per_frame_3=vm = vm*0.95 + (1-vm)*pow(mid,2)*0.02; |
| 235 | per_frame_4=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 236 | per_frame_5=vt = vt*0.95 + (1-vt)*pow(treb,2)*0.02; |
| 237 | per_frame_6=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 238 | per_frame_7=vvb = min(1,max(0,vvb)); |
| 239 | per_frame_8=vvm = min(1,max(0,vvm)); |
| 240 | per_frame_9=vvt = min(1,max(0,vvt)); |
| 241 | per_frame_10=q1 = vvb*2;//0.5 + vb - vvb; |
| 242 | per_frame_11=q2 = vvm*2;//0.5 + vm - vvm; |
| 243 | per_frame_12=q3 = vvt*2;//0.5 + vt - vvt; |
| 244 | per_frame_13=v=2; |
| 245 | per_frame_14=bb = bb - vvb*v; |
| 246 | per_frame_15=mm = mm - vvm*v; |
| 247 | per_frame_16=tt = tt - vvt*v; |
| 248 | per_frame_17=q4 = -bb; |
| 249 | per_frame_18=q5 = -mm; |
| 250 | per_frame_19=q6 = -tt; |
| 251 | per_frame_20=q4=(q1+q2+q3)*5; |
| 252 | per_frame_21=q5=(q1+q2+q3)*5; |
| 253 | per_frame_22=q6=(q1+q2+q3)*5; |
| 254 | per_frame_23=q7=(q1+q2+q3)*5; |
| 255 | per_frame_24=q8=(q1+q2+q3)*5; |
| 256 | per_frame_25=q9=(q1+q2+q3)*5; |
| 257 | per_frame_26=q10=(q1+q2+q3)*5; |
| 258 | per_frame_27=q11=(q1+q2+q3)*5; |
| 259 | per_frame_28=q12=(q1+q2+q3)*5; |
| 260 | per_frame_29=q13=(q1+q2+q3)*5; |
| 261 | per_frame_30=q14=(q1+q2+q3)*5; |
| 262 | per_frame_31=q15=(q1+q2+q3)*5; |
| 263 | per_frame_32=q16=(q1+q2+q3)*5; |
| 264 | per_frame_33=q17=(q1+q2+q3)*5; |
| 265 | per_frame_34=q18=(q1+q2+q3)*5; |
| 266 | per_frame_35=q19=(q1+q2+q3)*5; |
| 267 | per_frame_36=q20=(q1+q2+q3)*5; |
| 268 | per_frame_37=q21=(q1+q2+q3)*5; |
| 269 | per_frame_38=q22=(q1+q2+q3)*5; |
| 270 | per_frame_39=q23=(q1+q2+q3)*5; |
| 271 | per_frame_40=q24=(q1+q2+q3)*5; |
| 272 | per_frame_41=q25=(q1+q2+q3)*5; |
| 273 | per_frame_42=q26=(q1+q2+q3)*5; |
| 274 | per_frame_43=q27=(q1+q2+q3)*5; |
| 275 | per_frame_44=q28=(q1+q2+q3)*5; |
| 276 | per_frame_45=q29=(q1+q2+q3)*5; |
| 277 | per_frame_46=q30=(q1+q2+q3)*5; |
| 278 | per_frame_47=q31=(q1+q2+q3)*5; |
| 279 | per_frame_48=q32=(q1+q2+q3)*5; |
| 280 | per_frame_49=wave_r = 0.5+0.5*sin(time*1.12); |
| 281 | per_frame_50=wave_g = 0.5+0.5*sin(time*1.22); |
| 282 | per_frame_51=wave_b = 0.5*0.5*sin(time*1.32); |
| 283 | per_frame_52=ib_r = wave_b; |
| 284 | per_frame_53=ib_g = wave_r; |
| 285 | per_frame_54=ib_b = wave_g; |
| 286 | per_frame_55=//rot = 0.1*(sin(treb)*sin(treb)); |
| 287 | per_frame_56= |
| 288 | per_frame_57=// Thanks a bunch to flexi (once again) for beat detection! |
| 289 | per_frame_58= |
| 290 | per_frame_59=vol = bass*8 + mid*4 + treb*2; |
| 291 | per_frame_60=vol = vol*above(vol,17); |
| 292 | per_frame_61=monitor = vol; |
| 293 | per_frame_62=beat = above(vol,res); |
| 294 | per_frame_63=diff = (1-beat)*diff + beat*(vol-res); |
| 295 | per_frame_64=res = beat*(vol+2*diff) + (1-beat)*(res - (diff*0.04 + 0.12)*60/fps); |
| 296 | per_frame_65=res = max(0,res); |
| 297 | per_frame_66=monitor = res; |
| 298 | per_frame_67= |
| 299 | per_frame_68=x = if(beat,int(rand(60))*0.01 + 0.2,x); |
| 300 | per_frame_69=y = if(beat,int(rand(60))*0.01 + 0.2,y); |
| 301 | per_frame_70=wave_mystery = if(above(x,y),0,-1); |
| 302 | warp_1=`shader_body |
| 303 | warp_2=`{ |
| 304 | warp_3=` |
| 305 | warp_4=` float2 d = 0.02*aspect.zw; |
| 306 | warp_5=` float3 dx = ( GetBlur2(uv+float2(1,0)*d-floor(uv+float2(1,0)*d))-GetBlur2(uv-float2(1,0)*d-floor(uv-float2(1,0)*d)) ); |
| 307 | warp_6=` float3 dy = ( GetBlur2(uv+float2(0,1)*d-floor(uv+float2(0,1)*d))-GetBlur2(uv-float2(0,1)*d-floor(uv-float2(0,1)*d)) ); |
| 308 | warp_7=` float3 b1 = GetBlur1(uv) - 0; |
| 309 | warp_8=` d = 0.01; |
| 310 | warp_9=` float d2 = -0.02; |
| 311 | warp_10=` float1 thr = 0; |
| 312 | warp_11=` float1 c = 0.005; |
| 313 | warp_12=` |
| 314 | warp_13=` |
| 315 | warp_14=` float2 my_uv = uv - float2(dx.y,dy.y)*d - float2(dy.x,-dx.x)*d2; |
| 316 | warp_15=` ret.y = tex2D( sampler_fc_main, my_uv-floor(my_uv)).y; |
| 317 | warp_16=` ret.y += (ret.y - b1.y - thr)*.02 +c; |
| 318 | warp_17=` |
| 319 | warp_18=` |
| 320 | warp_19=` my_uv = uv - float2(dx.x,dy.x)*d - float2(dy.z,-dx.z)*d2; |
| 321 | warp_20=` ret.x = tex2D( sampler_fc_main, my_uv-floor(my_uv)).x; |
| 322 | warp_21=` ret.x += (ret.x - b1.x - thr)*.02 +c; |
| 323 | warp_22=` |
| 324 | warp_23=` |
| 325 | warp_24=` my_uv = uv - float2(dx.z,dy.z)*d - float2(dy.y,-dx.y)*d2; |
| 326 | warp_25=` ret.z = tex2D( sampler_fc_main, my_uv-floor(my_uv)).z; |
| 327 | warp_26=` ret.z += (ret.z - b1.z - thr)*.02 +c; |
| 328 | warp_27=` |
| 329 | warp_28=` |
| 330 | warp_29=`} |
| 331 | comp_1=`float3 ret1, ret2, reta; |
| 332 | comp_2=`float2 sam; |
| 333 | comp_3=`shader_body |
| 334 | comp_4=`{ |
| 335 | comp_5=` sam = tex2D(sampler_main,uv*.5); |
| 336 | comp_6=` ret1 = tex2D(sampler_main, float2(uv.x, uv.y)); |
| 337 | comp_7=` sam *= GetBlur1(uv)-GetBlur3(uv); |
| 338 | comp_8=` |
| 339 | comp_9=` reta = tex2D(sampler_main, sam+uv ).rgb; |
| 340 | comp_10=` ret1 = reta.r * (.5*bass_att*uv_orig.y+reta) + (reta.r)*ret1; |
| 341 | comp_11=` ret1 *= (ret1+1)/2; //gamma |
| 342 | comp_12=` |
| 343 | comp_13=`uv = (uv-.5)*.3+.5; |
| 344 | comp_14=` sam = tex2D(sampler_main,uv*.5); |
| 345 | comp_15=` ret2 = tex2D(sampler_main, float2(uv.x, uv.y)); |
| 346 | comp_16=` sam *= GetBlur1(uv)-GetBlur3(uv); |
| 347 | comp_17=` |
| 348 | comp_18=` reta = tex2D(sampler_main, sam+uv ).rgb; |
| 349 | comp_19=` ret2 = reta.r * (.5*bass_att*uv_orig.y+reta) + (reta.r)*ret2; |
| 350 | comp_20=` ret2 *= (ret1+1); //gamma |
| 351 | comp_21=` |
| 352 | comp_22=` |
| 353 | comp_23=` |
| 354 | comp_24=`ret = max(ret1, ret2); |
| 355 | comp_25=`ret *= .5+.5*lum(ret); |
| 356 | comp_26=`//ret = (1+ret1)*ret2; |
| 357 | comp_27=` |
| 358 | comp_28=`} |
| 359 | comp_29=` |
| 360 | comp_30=` |